﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleCalculator
{
    /// <summary>
    /// A simple calculator
    /// </summary>
    public class Calculator
    {
        /// <summary>
        /// Adds two integers.
        /// </summary>
        /// <param name="num1">The first number.</param>
        /// <param name="num2">The second number.</param>
        /// <returns>The sum of the two numbers.</returns>
        public int Add(int num1, int num2)
        {
            return num1 + num2;
        }

        /// <summary>
        /// Subtracts two integers.
        /// </summary>
        /// <param name="num1">The first number.</param>
        /// <param name="num2">The second number.</param>
        /// <returns>The difference of the two numbers.</returns>
        public int Subtract(int num1, int num2)
        {
            return num1 - num2;
        }

        /// <summary>
        /// Multiplies two integers.
        /// </summary>
        /// <param name="num1">The first number.</param>
        /// <param name="num2">The second number.</param>
        /// <returns>The product of the two numbers.</returns>
        public int Multiply(int num1, int num2)
        {
            return num1 * num2;
        }
    }
}
